/**
* 版权声明：厦门睿商网络科技有限公司 版权所有 违者必究
* 日    期：2020-03-04
*/
package com.rzico.basics.entity;

import com.rzico.core.entity.SysMenu;
import lombok.Data;

import java.util.Collections;
import java.util.Date;
import java.util.List;
import javax.persistence.*;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * <pre>
 *   设计器数据库对象
 * </pre>
 * @author Rzico Boot
 * @version 1.0
 */
@Data
@JsonIgnoreProperties(value = {"handler"})
@JsonInclude(JsonInclude.Include.NON_NULL)
@Table(name = "wx_ad")
public class Ad{
    @Id
    @ApiModelProperty(value = "" )
    protected Long id;

    @ApiModelProperty(value = "创建日期" )
    protected java.util.Date createDate;

    @ApiModelProperty(value = "修改日期" )
    protected java.util.Date modifyDate;

    @ApiModelProperty(value = "序号" )
    protected Integer orders;

    @ApiModelProperty(value = "开始时间" )
    protected java.util.Date beginDate;

    @ApiModelProperty(value = "结束时间" )
    protected java.util.Date endDate;

    @ApiModelProperty(value = "素材说明" )
    protected String title;

    @ApiModelProperty(value = "背景色" )
    protected String backgroundColor;

    @ApiModelProperty(value = "素材 URL" )
    protected String thumbnail;

    @ApiModelProperty("视频文件")
    private String video;

    @ApiModelProperty(value = "链接类型(0:商品,1.文章,2.热点,3.笔记,4.景点,5.名店,6.名厨,7.餐车,8.优惠券,9.页面,12.链接)" )
    protected Integer type;

    @ApiModelProperty(value = "广告位ID" )
    protected Long adPositionId;

    @ApiModelProperty(value = "数据源ID" )
    protected Long typeId;

    @ApiModelProperty(value = "数据源中文名" )
    protected String typeName;

    @ApiModelProperty(value = "外链地址" )
    protected String path;

    @ApiModelProperty(value = "归属企业" )
    protected Long enterpriseId;

    protected List<Tag> tags = Collections.emptyList();

}
